body{
    margin: 0;
    padding: 0;
    background: #fff url(./images/header_bg.png) repeat-x;
    font-size: 12px;
    color: #333;
}

ul,dl,dd,h2,p,form{
    padding: 0;
    margin: 0;
}

ul li{
    list-style-type: none;
}

#header{
    width: 900px;
    height: 30px;
    margin: 0 auto;
}

#header .logo{
    width: 100px;
    height: 30px;
    float: left;
}

#header .logo img{
    display: block;
}

#header .member{
    width: 70px;
    height: 30px;
    line-height: 30px;
    background: /* red */ url(./images/arrow.png) /* right */ 55px center no-repeat;
    float: right;
    cursor: pointer;
    position: relative;
}

#header ul{
    position: absolute;
    left: -20px;
    top: 30px;
    background: #fbf7e1;
    width: 100px;
    height: 0;
    border: 1px solid #999;
    border-top: none;
    padding: 10px 0 0 0;
    overflow: hidden;
    display: none;
    opacity: 0;
    filter: alpha(opacity=0);
}

#header ul li {
    height: 25px;
    line-height: 25px;
    text-indent: 20px;
    letter-spacing: 5px;
}

#header ul li a{
    text-decoration: none;
    color: #333;
    display: block;
    background: url(./images/arrow3.gif) no-repeat 5px 45%;
}

#header ul li a:hover{
    background-color: #fc0;
    background: url(./images/arrow4.gif) no-repeat 5px 45%;
}

#header .login, #header .reg {
    float: right;
    width: 35px;
    height: 30px;
    line-height: 30px;
    cursor: pointer;
}

#screen{
    position: absolute;
    top: 0;
    left: 0;
   /*  width: 1000px;
    height: 500px; */
    background-color: #666;
    z-index: 9998;
    /* IE 8 */
    filter:alpha(opacity=0);
    /* w3c */
    opacity: 0;
    display: none;
}

#login{
    width: 350px;
    height: 250px;
    border: 1px solid #ccc;
    position: absolute;
    display: none;
    z-index: 9999;
    background: #fff;
}

#login h2{
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 14px;
    letter-spacing: 15px;
    color: #666;
    background: url(./images/login_header.png) repeat-x;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #ccc;
    margin: 0 0 20px 0;
    cursor: move;
}

#login h2 img{
    float: right;
    position: relative;
    top: 14px;
    right: 8px;
    cursor: pointer;
}

#login div.user, #login div.pass{
    font-size: 14px;    
    color: #666;
    padding: 5px 0;
    text-align: center;
}

#login input.text{
    width: 200px;
    height: 25px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 14px;  
}
#login .button{
    text-align: center;
    padding: 20px 0;
}
#login input.submit{
    width: 107px;
    height: 30px;
    background: url(./images/login_button.png) no-repeat;
    border: none;
    cursor: pointer;
}

#login .other{
    text-align: right;
    padding: 15px 10px;
    color: #666;
}


#reg{
    width: 600px;
    height: 550px;
    border: 1px solid #ccc;
    position: absolute;
    display: none;
    /* top: 10px;
    left: 200px; */
    z-index: 9999;
    background: #fff;
}

#reg h2{
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 14px;
    letter-spacing: 15px;
    color: #666;
    background: url(./images/login_header.png) repeat-x;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #ccc;
    margin: 0 0 20px 0;
    cursor: move;
}

#reg h2 img{
    float: right;
    position: relative;
    top: 14px;
    right: 8px;
    cursor: pointer;
}

#reg dl{
    font-size: 14px;
    color: #666;
    margin: 20px;
    padding: 0 0 0 10px;
    position: relative;
}
#reg dl dd{
    height: 30px;
    padding: 5px 0;
}
#reg dl dd input.text,#reg dl dd select{
    width: 200px;
    height: 25px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 14px;
    color: #999;
}

#reg dl dd select{
    width: 202px;
}

#reg dl dd.birthday select{
    width: 70px;
}

#reg dl dd textarea{
    width: 360px;
    height: 100px;
    background: #fff;
    border: 1px solid #ccc;
}

#reg dl dd.ps{
    padding:0 0 0 300px;
}

#reg dl dd.ps strong.num{
    padding: 0 2px;
}

#reg dl dd.ps span.clear{
    color: #06f;
    cursor: pointer;
}
#reg dl dd input.submit{
    width: 143px;
    height: 33px;
    background: url(images/reg.png) no-repeat;
    border: none;
    cursor:pointer;
}

#reg dl dd span.info,#reg dl dd span.error,#reg dl dd span.succ{
    font-size: 12px;
    color: #333;
    width: 165px;
    height: 32px;
    line-height: 32px;
    padding: 0 0 0 35px;    
    display: block;
    position: absolute;
    letter-spacing: 1px;
    display: none;
}

#reg dl dd span.info{
    background: url(images/reg_info.png) no-repeat;
}

#reg dl dd span.error{
    background: url(images/reg_error.png) no-repeat;
}

#reg dl dd span.succ{
    height: 14px;
    line-height: 14px;
    background: url(images/reg_succ.png) no-repeat;
    padding: 0 0 0 20px;
    color: green;
}

#reg dl dd span.info_user{
    height: 43px;
    line-height: 18px;
    padding-top: 7px;
    background: url(images/reg_info2.png) no-repeat;
    top:3px;
    left: 295px;
    /* display: none; */
}

#reg dl dd span.error_user{
    top:3px;
    left: 295px;
    /* display: none; */
}

#reg dl dd span.succ_user{
    top: 12px;
    left: 295px;
}

#reg dl dd span.info_pass{
    width: 244px;
    height: 102px;
    padding: 4px 0 0 16px;
    background: url(images/reg_info3.png) no-repeat;
    /* display: block; */
    top:5px;
    left: 295px;
    letter-spacing: 0;
}
#reg dl dd span.info_pass p{
    height: 25px;
    line-height: 25px;
    color: #666;
}

#reg dl dd span.info_pass p strong.s{
    color: #ccc;
}

#reg dl dd span.error_pass{
    top:43px;
    left: 295px;
    /* display: block; */
}

#reg dl dd span.succ_pass{
    top: 52px;
    left: 295px;
    /* display: block; */
}

#reg dl dd span.info_notpass{
    top:83px;
    left: 295px;
    /* display: block; */
}

#reg dl dd span.error_notpass{
    top:83px;
    left: 295px;
    /* display: block; */
}

#reg dl dd span.succ_notpass{
    top: 92px;
    left: 295px;
    /* display: block; */
}

#reg dl dd span.error_ques{
    top:123px;
    left: 295px;
    /* display: block; */
}

#reg dl dd span.info_ans{
    top:163px;
    left: 295px;
    /* display: block; */
}

#reg dl dd span.error_ans{
    top:163px;
    left: 295px;
    /* display: block; */
}

#reg dl dd span.succ_ans{
    top: 172px;
    left: 295px;
    /* display: block; */
}


#reg dl dd span.info_email{
    top:203px;
    left: 295px;
    /* display: block; */
}

#reg dl dd span.error_email{
    top:203px;
    left: 295px;
    /* display: block; */
}

#reg dl dd span.succ_email{
    top: 212px;
    left: 295px;
    /* display: block; */
}

#reg dl dd ul.all_email{
    width: 180px;
    height: 130px;
    background: #fff;
    position: absolute;
    top: 233px;
    left: 80px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    display: none;
}

#reg dl dd ul.all_email li{
    height: 25px;
    line-height: 25px;
    border-bottom: 1px solid #E5EDF2;
    padding: 0 5px;
    cursor: pointer;
}

#reg dl dd span.error_birthday{
    top:241px;
    left: 350px;
    /* display: block; */
}

#nav{
    width: 465px;
    height: 52px; /* nav_bg.png的长宽 */
    background: url(images/nav_bg.png) no-repeat;
    margin: 50px auto 0 auto; /* 居中 */
    /* padding: 0 0 0 20px; */ /* 通过计算ul应该对应位置,但不用这种方式 */
    position: relative; /* 用relative + absolute结合保证ul居中 */
}

#nav ul{
    position: absolute; /* 因为这里用了absolute所以这个浮动在black默认布局的上方 */
}

#nav ul li{
    width: 85px;
    height: 52px;/*  */
    text-align: center; /* 水平居中 */
    line-height: 52px; /* 垂直居中 */
    font-weight: bold;
    float: left;
   /*  background: red; */
}

#nav ul.black{
    left: 20px; /* (465-85*5)/2= 20 */
    /* color: orange; */
    color: #333;
    z-index: 1;
}

#nav ul.white{
    width: 425px;
    color: white;
    z-index: 3;
    left:0;/* 没有这个ie无法动画 */
    /* left: -85px; */
}

#nav ul.about{
    /* background: red; */
    left: 20px;
    z-index: 4;
    cursor: pointer;
    background: red; /* 兼容ie7 */
    filter: alpha(opacity=0); /* 兼容ie7 */
    opacity: 0.5; /* 兼容ie7 */
}

#nav div.nav_bg{
    /* display: block; */
    width: 85px;
    height: 52px;
    background: url(images/nav_over.png) no-repeat 0 11px; /* 文字和背景同时居中 */
    position: absolute; /* 增加了这个,因为span在html中写在ul后,所以盖住了ul, absolute之间的覆盖关系 用z-index 调整 */
    z-index: 2;
    left: 20px;
    top: 0px;
    /* opacity: 0.5;
    filter: alpha(opacity=50); */
    overflow: hidden;
}

#main{
    width: 900px;
    height: 20px;
    /* background: red; */
    margin: 50px auto;
}

#sidebar {
    width: 250px;
    height: 500px;
    /* background: #eee; */
    float: left;
}

#sidebar h2{
    width: 248px;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    background: url(images/side_h.png);
    text-indent: 10px;
    border: 1px solid #ccc;
    border-bottom: none;
    margin: 0;
}

#sidebar ul{
    height: 150px;
    border: 1px solid #ccc;
    margin: 0 0 10px 0;
    overflow: hidden;
    /* ie浏览器必须要设置默认值 */
    opacity: 1;
    filter: alpha(opacity=100);
}

#sidebar ul li{
    height: 30px;
    line-height: 30px;
    background: url(images/arrow4.gif) no-repeat 12px 45%;
    text-indent: 30px;
}

#sidebar ul li a{
    text-decoration: none;
    color: #333;
}

#index{
    width: 630px;
    height: 570px;
    background: #eee;
    float: right;
}

#banner{
    width: 900px;
    height: 150px;
    float: left;
    /* background: red; */
    margin: 10px 0;
    /* 下面的都是绝对定位 */
    position: relative;
    overflow: hidden;
}

#banner img{
    display: block;
    position: absolute;
    left: 0;
    /* banner中的最下一层 */
    z-index: 1;
}

#banner ul{
    position: absolute;
    top: 128px;
    left: 420px;
    /* banner中的最上一层 */
    z-index: 4;
}

#banner ul li{
    float: left;
    padding: 0 5px;
    color: #999;
    cursor: pointer;
    font-style: 16px;
}

#banner span{
    display: block;
    width: 900px;
    height: 25px;
    background: #333;
    position: absolute;
    top: 125px;
    left: 0;
    opacity: 0.3;
    filter: alpha(opacity=30);
    /* 托住文字和点的黑框层 */
    z-index: 3;
}

#banner strong{
    position: absolute;
    top: 130px;
    left: 10px;
    color: #fff;
    /* banner中的最上一层 */
    z-index: 4;
}

#photo{
    width: 900px;
    float: left;
}

#photo dl{
    width: 225px;
    height: 270px;
    float: left;
    margin: 5px 0 15px 0;
}

#photo dl dt{
    width: 200px;
    height: 250px;
    background: #eee;
    margin: 0 auto;
}

#photo dl dt img{
    display: block;
    width: 200px;
    height: 250px;
    cursor: pointer;
}

#photo dl dd{
    height: 25px;
    line-height: 25px;
    text-align: center;
}

#share{
    width: 210px;
    height: 315px;
    border: 1px solid #ccc;
    position: absolute;
    top: 0px;
    left: -211px;
    background: #fff;
}

#share h2{
    height: 30px;
    line-height: 30px;
    margin: 0;
    padding: 0;
    background: #eee;
    font-style: 14px;
    text-indent: 10px;
}

#share ul{
    padding: 3px 0 2px 5px;
    height: 254px;
}

#share ul li{
    width: 96px;
    height: 28px;
    padding: 2px;
    float: left;
}

#share ul li a{
    display: block;
    width: 95px;
    height: 26px;
    line-height: 26px;
    text-decoration: none;
    text-indent: 30px;
    background-image: url(images/share_bg.png);
    background-repeat: no-repeat;
    color: #666;
}

#share ul li a.a{
    background-position: 5px 5px;
}
#share ul li a.b{
    background-position: 5px -25px;
}
#share ul li a.c{
    background-position: 5px -55px;
}
#share ul li a.d{
    background-position: 5px -85px;
}
#share ul li a.e{
    background-position: 5px -115px;
}
#share ul li a.f{
    background-position: 5px -145px;
}
#share ul li a.g{
    background-position: 5px -175px;
}
#share ul li a.h{
    background-position: 5px -205px;
}
#share ul li a.i{
    background-position: 5px -235px;
}
#share ul li a.j{
    background-position: 5px -265px;
}
#share ul li a.k{
    background-position: 5px -295px;
}
#share ul li a.l{
    background-position: 5px -325px;
}
#share ul li a.m{
    background-position: 5px -355px;
}
#share ul li a.n{
    background-position: 5px -385px;
}
#share ul li a.o{
    background-position: 5px -415px;
}
#share ul li a.p{
    background-position: 5px -445px;
}

#share ul li a:hover{
    opacity: 0.7;
    background-color: #eee;
}

#share .share_footer{
    background: #eeeeee;
    height: 26px;
    position: relative;
    /* 为了span定位 */
}

#share .share_footer span{
    display: block;
    width: 24px;
    height: 88px;
    background: url(images/share.png) no-repeat;
    position: absolute;
    top: -230px;
    left: 210px;
    cursor: pointer;
}

#share .share_footer a{
    position: absolute;
    top: 7px;
    left: 140px;
    text-decoration: none;
    color: #666666;
    padding: 0 0 0 13px;
    background: #eee url(images/share_bg.png) no-repeat 0 -477px;
}

#share .share_footer a:hover{
    color: #06f;
    opacity: 0.7;
}